furny.states
Class SummaryUIController<T extends IIndividual<T>>
java.lang.Object
de.lessvoid.nifty.screen.DefaultScreenController
furny.states.SummaryUIController<T>
- Type Parameters:
T
- The generic type of the individuals.
- All Implemented Interfaces:
- de.lessvoid.nifty.screen.ScreenController, IMenuListenerParent
public class SummaryUIController<T extends IIndividual<T>>
- extends de.lessvoid.nifty.screen.DefaultScreenController
- implements IMenuListenerParent
This is a controller that allows communication with the nifty gui.
- Since:
- 12.08.2012
- Author:
- Stephan Dreyer
Methods inherited from class de.lessvoid.nifty.screen.DefaultScreenController |
bind, gotoScreen, onEndScreen, onStartScreen |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
private static final java.util.logging.Logger LOGGER
evaluator
private final IInteractiveFitnessEvaluator<T extends IIndividual<T>> evaluator
menuListener
private MenuListener menuListener
SummaryUIController
public SummaryUIController(IInteractiveFitnessEvaluator<T> evaluator)
- Instantiates a new summary ui controller.
- Parameters:
evaluator
- the evaluator- Since:
- 12.08.2012
setMenuListener
public void setMenuListener(MenuListener menuListener)
- Description copied from interface:
IMenuListenerParent
- Sets the menu listener.
- Specified by:
setMenuListener
in interface IMenuListenerParent
- Parameters:
menuListener
- the new menu listener
onTerminate
public void onTerminate()
- Callback method. Called from the gui.
- Since:
- 12.08.2012